#ifndef MCLIENTOBSERVER_H_
#define MCLIENTOBSERVER_H_

/*
* MClientObserver
* CClientEngine passes events and responses body data with this interface.
* An instance of this class must be provided for construction of CClientEngine.
*/
class MClientObserver
	{
	public:
		/*
		* ClientEvent()
		*
		* Called when event occurs in CClientEngine.
		*
		* Params:
		*		aEventDescription:	A event in textual format, e.g.
		*							"Transaction Successful"
		*
		* Returns:
		* 		-
		*
		*/
		virtual void ClientEvent(const int aClientID, const TDesC& aEventDescription) = 0;

		/*
		* ClientReceived()
		*
		* Called when a part of the HTTP body is received.
		*
		* Params:
		*		aRevData:	Part of the body data received. (e.g. part of
		*					the received HTML page)
		*
		* Returns:
		* 		-
		*
		*/
		virtual void ClientReceived(const int aClientID, const TDesC8& aRevData) = 0;		
		//when all received		
		virtual void ClientBodyReceived(const int aClientID, const TDesC8& aBodyData) = 0;
	};
#endif /*MCLIENTOBSERVER_H_*/
